package org.systm.adminuser.params;

import lombok.*;
import org.global.basic.tree.TreeItem;
import org.global.utils.Copy;
import java.util.List;

@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ExhibitRole implements TreeItem<ExhibitRole> {
    @Copy
    private String id;
    private String role;
    private String pid;
    private boolean del;
    private String desc;
    private List<String> menuIds;

    @Copy
    private List<ExhibitRole> child;

    @Override
    public List<ExhibitRole> children() {
        return this.child;
    }

    @Override
    public void setChildren(List<ExhibitRole> children) {
        this.child = children;
    }
}
